Patient-controlled analgesia pump